home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000156_news@watsun.cc.columbia.edu _Wed Jan 27 19:18:18 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA07280
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 27 Jan 1999 19:18:18 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id TAA27496
  7.     for kermit.misc@watsun.cc.columbia.edu; Wed, 27 Jan 1999 19:04:24 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Subject: Re: K2 hotkeys?
  11. Date: 28 Jan 1999 00:04:20 GMT
  12. Organization: Columbia University
  13. Message-ID: <78o9i4$qr5$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@mailrelay2.cc.columbia.edu
  15.  
  16. In article <NoxDkohQNCsd-pn2-xI5W8MXN9IHP@stephen.digitech.co.nz>,
  17. Stephen Worthington <stephen@digitech.co.nz.nospam> wrote:
  18. : I am using Kermit/2 under OS/2 and I much enjoy being able to use the PgUp
  19. : and PgDn keys to get immediate access to the scrollback buffer.  Now I am
  20. : having to turn on and off session logging frequently, so I made myself a
  21. : macro (l) for this.  However, I am finding it annoying to have to do the
  22. : keystroke sequence <Alt-X>do l<cr><Alt-X> each time I run the macro.  Is
  23. : there some way to assign this macro to hotkey in the same way that the
  24. : PgUp and PdDn are assigned?  
  25. In fact, there is a way to assign a macro to a key:
  26.  
  27.   set key \xxx \Kname
  28.  
  29. where xxx is the keycode and "name" is the macro name.  Or, if you want
  30. this assignment active only for a particular terminal emulation:
  31.  
  32.   set terminal key vt100 \xxx \Kname
  33.  
  34. (where "vt100" is the emulation name).
  35.  
  36. But you don't need to do this to turn the session log on and off, since
  37. there already are Kverbs for that:
  38.  
  39.   \Klogoff (stop logging)
  40.   \Klogon  (start logging)
  41.  
  42. By default, they are not assigned to any keys, so pick the keys of your
  43. choice.
  44.  
  45. - Frank